package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

public class EditAgentDeptReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 部门Id
	 */
	@TYWValid(min = 1)
	private Long id;
	/**
	 * 公司名称
	 */
	@TYWValid(min = 1)
	private String companyName;
	/**
	 * 省份
	 */
	@TYWValid(min = 0)
	private Long province;
	/**
	 * 城市
	 */
	@TYWValid(min = 0)
	private Long city;
	/**
	 * 地址
	 */
	@TYWValid(min = 0)
	private String address;
	/**
	 * 对接人
	 */
	private Long principal;
	/**
	 * 机构上一级id(添加第二级机构时用)
	 */
	private Long parentId;
	
	/**
	 * 营业执照模板ID
	 */
	private Long credentialModelId;
	
	/**
	 * 营业执照值
	 */
	private String credentialModelValue;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public Long getProvince() {
		return province;
	}
	public void setProvince(Long province) {
		this.province = province;
	}
	public Long getCity() {
		return city;
	}
	public void setCity(Long city) {
		this.city = city;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Long getPrincipal() {
		return principal;
	}
	public void setPrincipal(Long principal) {
		this.principal = principal;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public Long getCredentialModelId() {
		return credentialModelId;
	}
	public void setCredentialModelId(Long credentialModelId) {
		this.credentialModelId = credentialModelId;
	}
	public String getCredentialModelValue() {
		return credentialModelValue;
	}
	public void setCredentialModelValue(String credentialModelValue) {
		this.credentialModelValue = credentialModelValue;
	}
	
}
